package com.qqtech.qquan.sms.service;

import javax.annotation.Resource;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Service;

import com.qqtech.core.frame.dao.BaseDao;
import com.qqtech.core.frame.service.BaseServiceImpl;

import com.qqtech.qquan.sms.dao.SmsTemplateDao;
import com.qqtech.qquan.sms.model.*;

@Service
public class SmsTemplateServiceImpl extends BaseServiceImpl<SmsTemplate>
		implements SmsTemplateService {
	public static final Logger log = LoggerFactory.getLogger(SmsTemplateServiceImpl.class);
	
	@Resource
	private SmsTemplateDao smsTemplateDao;

	@Override
	protected BaseDao<SmsTemplate> getBaseDao() {
		return smsTemplateDao;
	}
	
	@Override
	public SmsTemplate getByName(java.lang.String name) {
		return smsTemplateDao.getByName(name);
	}	
}